package cn.itsource.basic.domain;

import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUnit;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.lang.Snowflake;
import cn.hutool.core.util.IdUtil;

public interface OrderSn {

    //创建订单编号的 接口
   default String  createOrderSn(){
       return DateUtil.today()+System.currentTimeMillis();

   };

    public static void main(String[] args) {
        String now = DateUtil.today();
        System.out.println(now);
    }
}
